package com.atguigu.jxc.service;


import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Supplier;

import java.util.List;
import java.util.Map;

/**
 * ClassName: SupplierService
 * Package: com.atguigu.jxc.service
 *
 * @Description:
 * @Author: xvyy
 * @Create: 2025/2/21 - 10:40
 * @Version: v1.0
 */
public interface SupplierService {

    /**
     * 分页查询供应商管理

     * @param page
     * @param rows
     * @param supplierName
     * @return
     */
    Map<String, Object> list(Integer page, Integer rows, String supplierName);

    /**
     * 添加或修改供应商信息
     * @param supplier
     * @return
     */
    ServiceVO save(Supplier supplier);

    /**
     * 删除供应商信息
     * @param supplierIds
     * @return
     */
    ServiceVO delete(String supplierIds);
}
